<?php

namespace App\Http\Controllers\Admin;

use App\Models\User\LiveUserCard;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class CardController extends Controller
{
    public function index(Request $request)
    {
        $start_time = $request->input('start_time');
        $end_time   = $request->input('end_time');
        $status     = (int)$request->input('status',-1);
        $search     = (int)$request->input('search',0);
        $data       = LiveUserCard::getCardList($start_time,$end_time,$status,$search);
        return self::response($data,'200');
    }
}
